<?php

// Get variables

$content = v('content');
$markdownContent = v('markdownContent');
$pathToFile = v('pathToFile');

?>

<?php


	if (empty($content) === false)
	{

?>
<b>More documentation :</b>
<!--<a href="#" id="editRichDocumentation">Edit Documentation</a>-->

<div id="contentRichText">
	<?php echo $content; ?>
</div>

<div id="formRichText" style="display:none;">
	<form id="richDocumentation" name="richDocumentation" method="POST" class="margin_bottom_60" >

		<input type="hidden" id="form_pathToFile_richDocumentation" name="form_pathToFile_richDocumentation" value="<?php echo $pathToFile ?>" />
		<textarea id="form_content_richDocumentation" name="form_content_richDocumentation"><?php echo $markdownContent; ?></textarea>

		<br />
		<button type="submit" class="btn btn-danger btn-large">Envoyer</button>				
	</form>
</div>
<?php
	}
?>

<br />